package com.fy.common.exception;

import com.fy.common.enums.ApiErrorEnum;

public class ServiceException extends RuntimeException{
    public ServiceException(String message) {
        super(message);
    }
    public ServiceException(ApiErrorEnum apiErrorEnum) {
        super(apiErrorEnum.getMsg());
    }
}
